import 'babel-polyfill';
import React from 'react';
import { render } from 'react-dom';
import { browserHistory,useRouterHistory } from 'react-router';
import createHashHistory        from 'history/lib/createHashHistory';
import {createHistory} from 'history'
import { syncHistoryWithStore } from 'react-router-redux';
import configureStore from './store/configureStore';
import Root from './containers/Root';
const history = useRouterHistory(createHashHistory)({queryKey: false});
//const history = useRouterHistory(createHistory)({basename: ''})
const store = configureStore();
render(
    <Root store={store} history={history} />,
    document.getElementById('root')
);